package com.ztesoft.web.common.db.dao.mapper;

import com.ztesoft.web.common.db.arg.DetectionInfoArg;
import com.ztesoft.web.common.db.po.DetectionInfoPO;

import java.math.*;
import java.util.*;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

public interface IDetectionInfoMapper {
    
    List<Integer> countByArg(DetectionInfoArg arg);

    List<DetectionInfoPO> selectByArg(DetectionInfoArg arg);

    DetectionInfoPO selectByPrimaryKey(Long id);

    List<DetectionInfoPO> selectByArgAndPage(DetectionInfoArg arg, RowBounds rowBound);

    int insert(DetectionInfoPO record);

    int insertSelective(DetectionInfoPO record);

    int insertBatch(@Param("list") List<DetectionInfoPO> records);

    int updateByArgSelective(@Param("record") DetectionInfoPO record,
            @Param("arg") DetectionInfoArg arg);

    int updateByArg(@Param("record") DetectionInfoPO record,
            @Param("arg") DetectionInfoArg arg);

    int updateByPrimaryKeySelective(DetectionInfoPO record);

    int updateByPrimaryKey(DetectionInfoPO record);
    
    int deleteByArg(DetectionInfoArg arg);
    
    int deleteByPrimaryKey(Long id);
    
}